package com.autocompleter.gwt.client;

import java.util.List;

import com.google.gwt.user.client.rpc.AsyncCallback;
import com.gwtstructs.gwt.shared.jcTree.Tree;

/**
 * The async counterpart of <code>GreetingService</code>.
 */
public interface GreetingServiceAsync {
	void greetServer(String input, AsyncCallback<List<String>> asyncCallback)	throws IllegalArgumentException;

	void sendTree(Tree<String> serverTree, AsyncCallback<String> asyncCallback);
}
